package top.jlzhou.jobs.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author J.L.Zhou
 * @since 2018-10-25
 */
public class AccessLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long logId;

    private String userName;

    private LocalDateTime logTime;

    private String logIp;

    private Integer logType;

    private String logMsg;


    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public LocalDateTime getLogTime() {
        return logTime;
    }

    public void setLogTime(LocalDateTime logTime) {
        this.logTime = logTime;
    }

    public String getLogIp() {
        return logIp;
    }

    public void setLogIp(String logIp) {
        this.logIp = logIp;
    }

    public Integer getLogType() {
        return logType;
    }

    public void setLogType(Integer logType) {
        this.logType = logType;
    }

    public String getLogMsg() {
        return logMsg;
    }

    public void setLogMsg(String logMsg) {
        this.logMsg = logMsg;
    }

    @Override
    public String toString() {
        return "AccessLog{" +
        "logId=" + logId +
        ", userName=" + userName +
        ", logTime=" + logTime +
        ", logIp=" + logIp +
        ", logType=" + logType +
        ", logMsg=" + logMsg +
        "}";
    }
}
